{% extends 'kume_base.html' %}
{% block title %}
	{{ title }}
{% endblock %}
{% block contents %}
{% if curt_cat %}
<div class="col-sm-12">
	<div class="page-header text-muted">
		{{ curt_cat.name }}
	</div>
</div>
{% if articles %}
{% for article in articles %}
<div class="row">
	<div class="col-sm-12">
		<h3><a href="{% url 'post' article.uuid %}">{{ article.title }}</a></h3>
		<h4><small class="text-muted">{{ article.pub_date }} • <a href="{% url 'category' article.category.simple_name %}" class="text-muted">{{ curt_cat.name }}</a> • 评论系统施工中 • 热度: {{ article.views }}'C</small></h4>
		{{ article.breviary | safe }}
		<h4>
			<a href="{% url 'post' article.uuid %}" class="label label-success pull-right">阅读更多</a>
		</h4>
	</div>
</div>
<div class="row divider">
	<div class="col-sm-12">
		<hr>
	</div>
</div>
{% endfor %}
{% else %}
<div class="col-sm-12">
	<div class="page-header text-muted">
		呃, 当前分类目录下一片空白, 开始享受写作的乐趣吧 !
	</div>
</div>	
{% endif %}
{% else %}
<div class="col-sm-12">
	<div class="page-header text-muted">
		呃, 此分类目录不存在 !
	</div>
</div>					
{% endif %}

{% endblock %}